package com.work.customer.dao;

import com.work.customer.pojo.Menu;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface MenuMapper extends Mapper<Menu> {

    //查询角色的所有权限
    @Select("select mid from t_role_menu where rid=#{rid}")
    Integer[] findByRid(Integer rid);
}
